package constant.milk.aptprice.apt;

import java.util.HashMap;

import constant.milk.aptprice.database.DbAdapter;
import constant.milk.aptprice.database.DbInsertQuery;
import android.content.Context;

public class GangwondoSetting
{
	private DbInsertQuery insertQuery;
	
	public GangwondoSetting(Context context, DbAdapter db)
	{
		insertQuery = new DbInsertQuery(context, db);
	}
	
	public void Setting() throws Exception
	{
		setData("강릉시",	"145", "112");
		setData("고성군",	"172", "110");
		setData("동해시",	"115", "80");
		setData("삼척시",	"127", "90");
		setData("속초시",	"156", "116");
		setData("양구군",	"104", "72");
		setData("양양군",	"124", "80");
		setData("영월군",	"116", "79");
		setData("원주시",	"161", "112");
		setData("인제군",	"131", "60");
		setData("정선군",	"141", "90");
		setData("철원군",	"94", "59");
		setData("춘천시",	"190", "133");
		setData("태백시",	"139", "97");
		setData("평창군",	"117", "74");
		setData("홍천군",	"140", "99");
		setData("화천군",	"0", "0");
		setData("횡성군",	"119", "80");

	}
	
	private void setData(String name, String meib, String junse) throws Exception
	{
		HashMap<String, String> map = new HashMap<String, String>();
		
		map.put("title", "강원도");
		map.put("name", name);
		map.put("meib", meib);
		map.put("junse", junse);
		
		insertQuery.setAptData(map);
	}
}
